<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <!-- import CSS -->
  <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
</head>
<body>
<div id="app">
<el-select v-model="value" placeholder="请选择">
  <el-option label="北京" value="bj"></el-option>
  <el-option label="上海" value="sh"></el-option>
  <el-option label="广州" value="gz"></el-option>
</el-select>

  <h1>{{value}}</h1>
  <el-select v-model="value" placeholder="请选择">
    <!--如果属性的值是个变量必须加：（变成属性绑定）-->
    <el-option v-for="p in arr" :label="p.title" :value="p.price"></el-option>

  </el-select>
</div>
</body>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
  let v = new Vue({
    el: '#app',
    data: function () {
      return {
        value:"",
        arr:[{title:"小米手机",price:3000},
          {title:"小米手机12",price:32000},{title:"小米手机33",price:43000}]
      }
    },
    methods:{

    }
  })
</script>
</html>